/**
 * (created at 2011-1-25)
 */
package qiushuo.mysqlparser.ast.fragment;

import java.util.List;

import qiushuo.mysqlparser.ast.ASTNode;
import qiushuo.mysqlparser.ast.expression.Expression;
import qiushuo.mysqlparser.generator.SQLType;
import qiushuo.mysqlparser.util.Pair;

/**
 * @author <a href="mailto:QiuShuo1985@gmail.com">QIU Shuo</a>
 */
public class OrderBy implements ASTNode {
    /** boolean: isDesc */
    private final List<Pair<Expression, Boolean>> orderByList;

    public OrderBy(List<Pair<Expression, Boolean>> orderByList) {
        super();
        this.orderByList = orderByList;
    }

    @Override
    public String generateSql(SQLType type) {
        // QS_TODO gen sql
        throw new UnsupportedOperationException("not implemented yet");
    }

}
